<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>网站后台管理</title>
<link href="__PUBLIC__/Admin/images/Admin_css.css" type=text/css rel=stylesheet>
<link rel="shortcut icon" href="__PUBLIC__/Admin/images/myfav.ico" type="image/x-icon" />
<script type="text/javascript" src="/Public/Admin/js/admin.js"></script> 
</head>
<body>
<div class="main_center">
<form name="myform" method="POST"  id="myform" action="__URL__/delall">
<table width="95%" border="0"  align=center cellpadding="3" cellspacing="2" bgcolor="#FFFFFF" class="table table-bordered">
<tr> 
  <td colspan="5" align=left class="admintitle">我的表格模型[<a href="__URL__/add">添加</a>]</td>
</tr>
<tr bgcolor="#f1f3f5" style="font-weight:bold;">
	<td width="5%" height="30" align="center" class="ButtonList">编号</td>
    <td width="30%" height="30" align="center" class="ButtonList">管理栏目名称</td>
	<td width="30%" height="30" align="center" class="ButtonList">控制器命名</td>
	<td width="15%" align="center" class="ButtonList">MYSQL表名</td>
    <td width="20%" height="30" align="center" bgcolor="#f1f3f5" class="ButtonList">管理</td>    
  </tr>
 <?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr bgcolor="#f1f3f5" onMouseOver="this.style.backgroundColor='#EAFCD5';this.style.color='red'" onMouseOut="this.style.backgroundColor='';this.style.color=''">
    <td height="25" align="CENTER"><?php echo ($vo["id"]); ?></td>
    <td height="25"><?php echo ($vo["menu_name"]); ?>
      </td>
	<td height="25" align="center"><?php echo ($vo["action_name"]); ?></td>
	<td align="center"><?php echo ($vo["table_name"]); ?></td>
    <td align="center"><a href="__APP__/<?php echo ($vo["action_name"]); ?>/index">管理数据</a>&nbsp;<a href="javascript:if(confirm('您确定删除该表格模型?')){ location.href='__URL__/del/id/<?php echo ($vo[id]); ?>'; }">删除</a></td>    
  </tr><?php endforeach; endif; else: echo "" ;endif; ?>
  <tr><td bgcolor="f7f7f7" colspan="8" align="left"><div>
  <ul class="pagination">
    <?php echo ($page); ?>
  </ul>
  </div>
</td></tr>
</table>
</form>
</div>
</body>
</html>